


function get(id){
		
		return document.getElementById(id)
		
		
	}
	
	   var header= get("header")
		   main=get("main")
		 //alert(header)  
		 
		var li=get("header").getElementsByTagName("dl")
		//alert(li.length)
		var divs=get("main").getElementsByTagName("section")
			//alert(divs.length)
		
		
		for(var i=0; i<li.length; i++){
			
			li[i].id=i
			//onmouseover
			li[i].onclick=function(){
				
			var that=this	
				setTimeout(function(){
				for(var j=0; j<li.length; j++){
					
					
					divs[j].style.display="none"
				}
				
				
				
				
					
				
				divs[that.id].style.display="block"
				
			},500);
			
		}
			
	}
	